package com.ysd.entity;

public class NewsDetails {

	private int newsDetailsId;
	private String title;
	private String introduction;
	private String content;
	private int newsClassifyId;
	private String newsClassifyName;
	public int getNewsDetailsId() {
		return newsDetailsId;
	}
	public void setNewsDetailsId(int newsDetailsId) {
		this.newsDetailsId = newsDetailsId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getNewsClassifyId() {
		return newsClassifyId;
	}
	public void setNewsClassifyId(int newsClassifyId) {
		this.newsClassifyId = newsClassifyId;
	}
	public String getNewsClassifyName() {
		return newsClassifyName;
	}
	public void setNewsClassifyName(String newsClassifyName) {
		this.newsClassifyName = newsClassifyName;
	}
	public NewsDetails(int newsDetailsId, String title, String introduction, String content, int newsClassifyId,
			String newsClassifyName) {
		super();
		this.newsDetailsId = newsDetailsId;
		this.title = title;
		this.introduction = introduction;
		this.content = content;
		this.newsClassifyId = newsClassifyId;
		this.newsClassifyName = newsClassifyName;
	}
	public NewsDetails(int newsDetailsId, String title, String introduction, String content, int newsClassifyId) {
		super();
		this.newsDetailsId = newsDetailsId;
		this.title = title;
		this.introduction = introduction;
		this.content = content;
		this.newsClassifyId = newsClassifyId;
	}
	public NewsDetails() {
		super();
	}
	@Override
	public String toString() {
		return "NewsDetails [newsDetailsId=" + newsDetailsId + ", title=" + title + ", introduction=" + introduction
				+ ", content=" + content + ", newsClassifyId=" + newsClassifyId + ", newsClassifyName="
				+ newsClassifyName + "]";
	}
	
	
}
